import { Type } from 'class-transformer';

export class FindAllUserDto {
  // 用户字段 username nickname mobile模糊查询
  keywords?: string;

  // 创建用户时间区间
  startTime?: string;
  endTime?: string;

  // 状态
  @Type(() => Number)
  status?: number;

  // 部门id
  @Type(() => Number)
  deptId?: number;

  @Type(() => Number)
  pageNum?: number = 1;
  @Type(() => Number)
  pageSize?: number = 10;
}
